package com.ssh.action;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.ActionSupport;

public class LoginoutAction extends ActionSupport {
	public String loginout(){
		HttpServletRequest request=ServletActionContext.getRequest();
		request.getSession().invalidate();
		return "loginandregister";
	}

}
